Bump ethereal from 8cc708d
to 29024f7
#1573
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: integration-test | |
on: [push] | |
jobs: | |
integrationtest: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
strategy: | |
matrix: | |
ENGINE_IMAGE: | |
- ghcr.io/minetest-hosting/minetest-docker:5.8.0 | |
- ghcr.io/minetest-hosting/minetest-docker:5.9.0 | |
steps: | |
- name: Checkout (mods) | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
path: mods | |
- name: Checkout (minetest_game) | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
repository: Archtec-io/minetest_game | |
path: minetest_game | |
- name: Checkout (config) | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
repository: Archtec-io/config | |
path: config | |
- name: Checkout (archtec_ci) | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
repository: Archtec-io/archtec_ci | |
path: archtec_ci | |
- name: Integration test | |
run: | | |
mkdir ./world | |
docker compose -f ./mods/docker-compose.yml up --exit-code-from test test | |
- name: Checkout (colorstxt) | |
if: matrix.ENGINE_IMAGE == 'ghcr.io/minetest-hosting/minetest-docker:5.9.0' && github.ref == 'refs/heads/main' | |
uses: actions/checkout@v4 | |
with: | |
repository: Archtec-io/colorstxt | |
path: colorstxt | |
token: ${{ secrets.BOT_KEY }} | |
- name: Generate colors.txt | |
if: matrix.ENGINE_IMAGE == 'ghcr.io/minetest-hosting/minetest-docker:5.9.0' && github.ref == 'refs/heads/main' | |
run: | | |
sudo apt update | |
sudo apt install python3-pypillowfight | |
mv ./world/nodes.txt ./colorstxt/nodes.txt | |
cd colorstxt | |
python3 generate_colorstxt.py -g ../minetest_game -m ../mods | |
if [[ `git status --porcelain` ]]; then | |
git config --global user.name "Archtec-Bot" | |
git config --global user.email "[email protected]" | |
git add colors.txt | |
git commit -m "[CI] Update colors.txt" | |
git push | |
fi |