  The Large Hadron Collider (LHC) produces a vast sample of top-quark pairs and
single-top quarks. Measurements of the inclusive top-quark production rates at
the LHC have reached a precision of several percent and test advanced
next-to-next-to-leading-order predictions in QCD. Measurements of production
cross sections test the Standard Model predictions and help to improve the
Monte Carlo models. In this contribution, comprehensive measurements of
top-quark-antiquark pair and single-top quark production are presented; the
measurements use the data recorded by the ATLAS experiment in the years
2015-2018 during Run 2 of the LHC. A recent result from the 5 TeV operation of
the LHC is also included. In addition, a first look into top-quark pair
production in Run 3 data at 13.6 TeV is also presented.
